﻿var ValidationHK_MessageTemplate = {
    CONTAINS: "必須包含以下字符（串) \"{str}\" with mode \"{mode}\".",
    CONTAINS_N: "不能包含以下字符（串） \"{str}\" with mode \"{mode}\".",

    LENGTH: "長度必須在 {min} ({includeMin}) - {max} ({includeMax})之間.",
    LENGTH_N: "長度不能在 {min} ({includeMin}) - {max} ({includeMax})之間.",

    NOTNULL: "不能為空.",
    NOTNULL_N: "必須為空.",

    RANGE: "必須在以下範圍： {min} ({includeMin}) - {max} ({includeMax})之間.",
    RANGE_N: "不能在以下範圍 {min} ({includeMin}) - {max} ({includeMax})之間.",

    RELATIVEDATETIME: "The value must fall within the range \"{min} {minUnit}\" ({includeMin}) - \"{max} {maxUnit}\" ({includeMax}) relative to now.",
    RELATIVEDATETIME_N: "The value must not fall within the range \"{min} {minUnit}\" ({includeMin}) - \"{max} {maxUnit}\" ({includeMax}) relative to now.",

    DOMAIN: "The value does not belong to the domain.",
    DOMAIN_N: "The value must not belong to the domain.",

    COMPARE: "",
    COMPARE_N: "",

    REGEX: "The value must match the regular expression \"{3}\" with options \"{4}\".",
    REGEX_N: "The value must not match the regular expression \"{3}\" with options \"{4}\".",

    UNIT_D: "天",
    UNIT_H: "小時",
    UNIT_MI: "分鍾",
    UNIT_M: "月",
    UNIT_S: "秒",
    UNIT_YY: "年",

    INCLUDE: "包含",
    Exclude: "不包含"
};